﻿<%@ Page Title="" Language="vb" AutoEventWireup="false" MasterPageFile="~/main.Master" CodeBehind="tags.aspx.vb" Inherits="moviesblogspot.tags" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder2" runat="server">
            <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" 
        DataSourceID="SqlDataSource1">
        <Columns>
            <asp:BoundField DataField="moviename" HeaderText="List of Movies" 
                SortExpression="moviename" />
        </Columns>
    </asp:GridView>
    <asp:SqlDataSource ID="SqlDataSource1" runat="server" 
        ConnectionString="<%$ ConnectionStrings:MovieConnectionString %>" 
        ProviderName="<%$ ConnectionStrings:MovieConnectionString.ProviderName %>" 
        SelectCommand="SELECT [categories_id], [moviename] FROM [movies] WHERE ([categories_id] = ?)">
        <SelectParameters>
            <asp:QueryStringParameter Name="categories_id" QueryStringField="categories_id" 
                Type="String" />
        </SelectParameters>
    </asp:SqlDataSource>
</asp:Content>
